package com.simtop.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

/**
 * 对应注册页面中的字段
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class UserVo {
    private String newPassword;
    private String confirmPassword;
    private Integer id;//主键id
    private String username;//用户名
    private String loginName;//登录名
    private String password;//登陆密码
    private Integer roleId;//角色id
    @ExcelProperty("分组1")
    private String groupOne;
    @ExcelProperty("分组2")
    private String groupTwo;
    @ExcelProperty("最后登录时间")
    private Date lastTime;
    @ExcelProperty("登录次数")
    private Integer loginCount;
    @ExcelProperty("登录时长")
    private Integer loginTime;
    @ExcelProperty("在线状态(1:在线 0:下线)")
    private Integer loginStatus;
    @ExcelProperty("删除(1:未删除 0:删除)")
    private Integer status;
    private  String userIp;
    private String userImage;




}
